home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ Delphi Options.xpl
< prev
next >
Wrap
Text File
|
1999-09-11
|
2KB
|
66 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="2"
"UIPATH"="Program Options\Delphi"
"NAME"="Delphi CPU Window"
"VERSION"="1.13"
"LANGUAGE"="VBScript"
"TEXT 1"="Enable Delphi 2.x CPU Window"
"TEXT 2"="Enable Delphi 3.x CPU Window"
"DESCRIPTION 1"="Activating this feature adds the command "CPU Window" to Delphi."
"DESCRIPTION 2"="Simply select "CPU Window" from the "View" menu and you will see a Disassembly View of the current stack."
"DESCRIPTION 3"="Note: Some menus don't work."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
"COMMENT 2"="from "Registry Dompteur" RegDom (c) 1996..98 by Horst Schmid, Horst_Schmid@compuserve.com"
sP1="HKCU\Software\Borland\Delphi\"
sP2=".0\Debugging\ENABLECPU"
Sub Plugin_Initialize
if RegPathExists(sP1)=true then
s=RegReadValue(sP1 & "2" & sP2)
if s="1" then
SetUIElement 1,true
end if
s=RegReadValue(sP1 & "3" & sP2)
if s="1" then
SetUIElement 2,true
end if
else
Call Disable()
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sP1 & "2" & sP2,"1",1)
else
Call RegWriteValue(sP1 & "2" & sP2,"0",1)
end if
b=GetUIElement(2)
if b=true then
Call RegWriteValue(sP1 & "3" & sP2,"1",1)
else
Call RegWriteValue(sP1 & "3" & sP2,"0",1)
end if
End Sub
Sub Plugin_Terminate
End Sub